package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.StrategyComment;
import cn.wolfcode.wolf2w.domain.TravelComment;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface TravelCommentRepository extends MongoRepository<TravelComment,String> {


    /**
     *  查询游记评论列表
     *  @param id
     * @return
     */
    List<TravelComment> findByTravelId(String id);
}
